<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!-- 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link href="./css/style.css" rel="stylesheet" type="text/css" />
<link href="./css/dtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="./js/dtree.js"></script>
<script type="text/javascript" language="javascript">
<!--
	function back(){
		window.location.href = "updateCustomer.html";
		window.location.target = "main";
	}
	
	function showHidden(id){
		var obj = document.getElementById(id);
		if(obj.style.display == "none"){
			document.getElementById(id).style.display = "block";
		}else{
			document.getElementById(id).style.display = "none";
		}
	}
-->
</script>
</head>
<body>
	<table cellpadding="0" cellspacing="0" class="table" height="100%" style="width:expression(document.body.clientWidth); ">
		<tr>
			<td valign="top" width="180">
				<div class="dept_tree_title">组织架构</div>
				<div class="dept_tree">
					<script type="text/javascript">
					<!--
						d1 = new dTree('d1');
						d1.add('0','-1','总经办','','','','','','true');
						
						d1.add('1','0','销售部','userList.html','','userListFrame','','','true');
						d1.add('2','1','销售一部一部一部','userList.html','','userListFrame','','','','true');
						d1.add('3','1','销售一部','userList.html','','userListFrame','','','','true');
						
						d1.add('4','0','市场部','userList.html','','userListFrame','','','','true');
						d1.add('5','4','市场一部','userList.html','','userListFrame','','','','true');
						d1.add('6','4','市场一部','userList.html','','userListFrame','','','','true');
						document.write(d1);					
					//-->
					</script>
				</div>
			</td>
			<td width="2" bgcolor="#4289d3"></td>
			<td valign="top">
				<iframe src="./user.do?action=userList" id="userListFrame" name="userListFrame" frameborder="2" scrolling="no" width="100%" 
					onload="this.height=userListFrame.document.body.scrollHeight;"></iframe>
			</td>
		</tr>
	</table>	
</body>
</html>